package com.yanqu.road.entity.manor;

/**
 * @author ：zfr
 * @date ：2021/10/25 11:43
 */
public class TaskFishType {
    private int fishId;
    private int weight;

    public TaskFishType(String fishWeightParam) {
        String[] split = fishWeightParam.split(",");
        this.fishId = Integer.parseInt(split[0]);
        this.weight = Integer.parseInt(split[1]);
    }

    public TaskFishType() {
    }

    public int getFishId() {
        return fishId;
    }

    public void setFishId(int fishId) {
        this.fishId = fishId;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
